import type { Rule } from 'ant-design-vue/es/form';

export const rules: Record<string, Rule[]> = {
    username:[
        { required: true, message: '请输入用户名', trigger: 'blur' },
    ],
    password:[
        { required: true, message: '请输入登录密码', trigger: 'blur' },
    ],
    code:[
        { required: true, message: '请输入验证码码', trigger: 'blur' },
    ]
}